﻿@{
    ViewData["Title"] = "SheepWeighingShow";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div style="margin:20px 20px">

    <div style="margin:60px 60px">

        <table>
            <tbody>
                <tr>
                    <td style="padding-bottom:20px">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">称重日期</label>
                                <div class="layui-inline" id="ID-laydate-rangeLinked">
                                    <div class="layui-input-inline">
                                        <input style="height:30px" type="text" autocomplete="off" name="ID-laydate-start-date-1" id="ID-laydate-start-date-1" class="layui-input" placeholder="开始日期">
                                    </div>
                                    <div class="layui-form-mid">-</div>
                                    <div class="layui-input-inline">
                                        <input style="height:30px" type="text" autocomplete="off" name="ID-laydate-end-date-1" id="ID-laydate-end-date-1" class="layui-input" placeholder="结束日期">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </td>
                    <td style="padding-bottom:20px">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">羊只耳号</label>
                                <div class="layui-input-inline layui-input-wrap">
                                    <input style="height:30px" class="layui-input" id="earNumber" autocomplete="off">
                                </div>
                            </div>
                        </div>
                    </td>

                    <td>
                        <div class="layui-form layui-row layui-col-space16">
                            <label class="layui-form-label">称重类型</label>
                            <div class="layui-input-block" style="width:200px">
                                <select name="weighingType" id="weighingType" lay-filter="breedSelect">
                                    <option value="">称重类型</option>
                                </select>
                            </div>
                        </div>
                        <br />
                    </td>


                    <td>
                        <button type="button" class="layui-btn layui-btn-primary" id="searchBtn"><i class="layui-icon"></i> 搜 索</button>
                    </td>
                </tr>
                <tr>
                    <td>



                        <div class="layui-form layui-row layui-col-space16">
                            <label class="layui-form-label">请选择品种</label>
                            <div class="layui-input-block" style="width:200px">
                                <select style="height:30px" name="stause" id="sheepBreed" lay-filter="breedSelect">
                                    <option value="">请选择品种</option>
                                </select>
                            </div>
                        </div>

                    </td>
                    <td>
                        <div class="layui-form layui-row layui-col-space16">
                            <label class="layui-form-label">请选择性别</label>
                            <div class="layui-input-block" style="width:200px">
                                <select style="height:30px" name="sheepGender" id="sheepGender" lay-filter="breedSelect">
                                    <option value="">请选择性别</option>
                                    <option value="true">公</option>
                                    <option value="false">母</option>
                                </select>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="layui-form-item">
                            <label class="layui-form-label">称重月龄：</label>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input type="text" id="startWeighingMonth" name="startWeighingMonth" class="layui-input" placeholder="起始值">
                            </div>
                            <div class="layui-form-mid">-</div>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input type="text" id="endWeighingMonth" name="endWeighingMonth" class="layui-input" placeholder="结束值">
                            </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <br />

        <div class="layui-inline">
            <a class="layui-btn layui-btn-danger layui-btn-normal delAll_btn">批量删除</a>
        </div>
        &nbsp;
        &nbsp;

        <div class="layui-inline">
            <a class="layui-btn" onclick="location.href='/Breedings/AddWeighing'">新增</a>
        </div>

        <table id="ID-table-demo-setRowChecked"></table>
        <div id="pagesbox"></div>


    </div>
</div>
<script src="~/js/breedings/showsheepweighing.js?AY="+new Date()></script>

<script type="text/html" id="barDemo">
    <div class="layui-btn-container">
          <a class="edit-btn layui-btn layui-btn-xs" lay-event="edit" data-id="{{d.sheepWeighingId}}">修改</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delete">删除</a>
    </div>
</script>

